Skip to content

Conversation

@WojciechMazur
Copy link
Contributor

Prepare for releasing 3.8.0-RC1 artifacts by adjusting how artifacts are published.
We don't introduce a full refactor by switching to use dedicated environments and release-maven-artifacts workflow yet. Instead we're only adjusting existing, battle-tested workflow to publish artifacts using new variants of projects to reduce risks due too many moving parts.
The CI refactor would be introduced for 3.8.1 releases after testing it first on nightlies in a full workflow (including execution of tests which is now missing)

Additional minor adjustments:

  • disable publishing to WinGet - this workflow has never succeeded and requires creation of first release manually
  • Switch homepage from GitHub repository to scala-lang.org website

@WojciechMazur WojciechMazur added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Nov 13, 2025
@WojciechMazur WojciechMazur added this to the 3.8.0 milestone Nov 13, 2025

publish-winget:
uses: ./.github/workflows/publish-winget.yml
if: false # TODO: Requires setting up initial WinGet package
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't this work previously?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, never, see #22184

…expose implementation detail in POM metadata
.dependsOn(`scala3-interfaces`, `tasty-core-bootstrapped-new`, `scala3-library-bootstrapped-new`)
.settings(publishSettings)
.settings(
name := "scala3-compiler-bootstrapped",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are not necessary to remove, the moduleName two lines below is what defines the name of the artifact. We should keep these to know in sbt if we manipulate a bootstrapped project or a on-bootstrapped project.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but these are later exposed publicly as attributes in POM https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.7.4/scala3-compiler_3-3.7.4.pom - see both name and description

The non-bootstrapped projects have the nonbootstrapped suffix, so it should be fine

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll accept this PR assuming that the non-bootstrapped projects are label.

fi
- name: Prepare the SDKs
shell: bash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have the binaries yet.

- name: Download MSI package
uses: actions/download-artifact@v6
with:
name: scala.msi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and we don't have the msi yet

@WojciechMazur WojciechMazur merged commit 7a0d2be into scala:main Nov 13, 2025
57 checks passed
WojciechMazur added a commit that referenced this pull request Nov 13, 2025
Prepare for releasing 3.8.0-RC1 artifacts by adjusting how artifacts are
published.
We don't introduce a full refactor by switching to use dedicated
environments and `release-maven-artifacts` workflow yet. Instead we're
only adjusting existing, battle-tested workflow to publish artifacts
using new variants of projects to reduce risks due too many moving
parts.
The CI refactor would be introduced for 3.8.1 releases after testing it
first on nightlies in a full workflow (including execution of tests
which is now missing)

Additional minor adjustments: 
- disable publishing to WinGet - this workflow has never succeeded and
requires creation of first release manually
- Switch homepage from GitHub repository to `scala-lang.org` website
[Cherry-picked 7a0d2be]
@WojciechMazur WojciechMazur added backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" and removed backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. labels Nov 13, 2025
WojciechMazur added a commit that referenced this pull request Nov 13, 2025
Backports #24422 to the 3.8.0-RC1.

PR submitted by the release tooling.
@WojciechMazur WojciechMazur added backport:done This PR was successfully backported. and removed backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" labels Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:done This PR was successfully backported.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants